package com.youlu.campus.web.cms.service;
import com.youlu.campus.entity.VO.res.BannerResponse;
import com.youlu.campus.web.cms.dto.BannerConfigRequest;
import com.youlu.campus.web.cms.dto.BannerConfigResponse;
import com.youlu.campus.web.cms.entity.BannerConfig;
import org.springframework.data.domain.Page;

import java.util.List;

public interface BannerConfigService {
    /**
     * Banner列表
     *
     * @param request
     * @return
     */
    Page<BannerConfigResponse> list(BannerConfigRequest request);

    List<BannerConfig> findByLocations(List<String> locationList);

    BannerResponse findByLocation(String location);
}
